Trend Tool – Events
The following table lists and describes events of the Trend Tool.
|
Event |
Description |
|---|---|
|
EventBeginProcessing runs at the beginning of retrieving values to be trended from the Value History Service (VHS) and updating the trend display. |
|
|
EventClick runs when the user clicks the left mouse button once on the object. |
|
|
EventEndProcessing runs at the end after processing is finished, or retrieving values to be trended from the Value History Service (VHS) and updating the trend display. |
|
|
EventInitialize runs when TheView is started in Run or Preview mode to allow further initialization for the control. |
|
|
EventMaximize is run when the user selects Maximize from the right-click menu in Run mode or calls the CxTrend.Maximize method from script. When entering maximization mode, the Maximize parameter value passed in is "True." When exiting maximization mode, the Maximize parameter value passed in is "False." |
|
|
EventNoteCreated is run before a note is created. This event can be triggered by selecting the Add Note menu option on a trend in Run mode. SyntaxObjectCode_EventNoteCreated(ByRef ShowNoteEditor as Boolean, ByRef CreateNote as Boolean, ByRef Note as Note) Parameters
See also Notes. ExampleCopy
EventNoteCreated
|
|
|
EventNoteEdited is run before a note is edited. This event can be triggered by double-clicking an annotation on a trend in Run mode. SyntaxObjectCode_EventNoteEdited(ByRef ShowNoteEditor as Boolean, ByRef UpdateNote as Boolean, ByRef Note as Note) Parameters
See also Notes. ExampleCopy
EventNoteEdited
|
|
|
EventNotesChanged is run every time the number of note labels within a Trend Tool view window changes. For example, the event fires when note labels come into scope or fall out of scope, and if the DisplayInformation property Notes option is activated or deactivated. When a Trend Tool is used in conjunction with a Note Feed Tool, the event triggers changes in the feed that reflect the status of note labels on the trend. For example, note labels are added to or deleted from the Note Feed Tool accordingly. SyntaxObjectCode_EventNotesChanged() Parameters
See also Notes. |
|
|
EventNoteSelected is run after a note label is selected or cleared. SyntaxObjectCode_EventNoteSelected(NoteTag As String, SelectState As Boolean) Parameters
See also Notes. |
|
|
EventPointChange runs when an unrelated point is updated. This event can significantly reduce initialization time for screens that may contain objects configured for unrelated points. Unrelated points can be registered using an object’s RegisterPointForChangeNotice method, if applicable. |
|
|
EventPumpData is a legacy event, and is effectively obsolete. Do not use. In the past, this event would run when data was "pumped" to TheView. |
|
|
EventZoom runs when the user left-clicks on a trend and continues to hold down the mouse button while drawing a zoom area. |


